import { createRouter, createWebHashHistory } from 'vue-router'
import WelcomePage from '../pages/WelcomePage.vue'
import DepositPage from '../pages/DepositPage.vue'
import PickupPage from '../pages/PickupPage.vue'
import CompletePage from '../pages/CompletePage.vue'

const routes = [
  {
    path: '/',
    name: 'Welcome',
    component: WelcomePage
  },
  {
    path: '/deposit',
    name: 'Deposit',
    component: DepositPage
  },
  {
    path: '/pickup',
    name: 'Pickup',
    component: PickupPage
  },
  {
    path: '/complete',
    name: 'Complete',
    component: CompletePage
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
